Search found 4 matches

by Shades
Mon Mar 17, 2014 11:47 am
Forum: Regular Expressions Help
Topic: Remove blank spaces between numbers
Replies: 1
Views: 9678

Remove blank spaces between numbers

Hi, I have a couple of text files that contain transcripts from conversations, text and numbers. In some files, the numbers have a blank space between them. For example: We will come in on Saturday to upgrade 2 8 servers. Those are the last machines on the list, so we'll have completed all 1 3 4 ser...
by Shades
Fri Jan 17, 2014 10:04 pm
Forum: Regular Expressions Help
Topic: Find and replace lines prefixed with a specific character
Replies: 3
Views: 12872

Re: Find and replace lines prefixed with a specific characte

Works like a charm, except for the longer sentences that have a line break in them. But I can catch those by splitting it into 2 separate commands.
Thanks for your help!
by Shades
Fri Jan 03, 2014 12:39 am
Forum: Regular Expressions Help
Topic: Find and replace lines prefixed with a specific character
Replies: 3
Views: 12872

Re: Find and replace lines prefixed with a specific characte

Ok, I've found an expression that seems to find the correct line, but I still haven't figured out what to replace it with.

Find: \r\n(b\s)|(\sb)\r\n

Replace: ???

Any help would be greatly appreciated.
by Shades
Thu Jan 02, 2014 6:08 pm
Forum: Regular Expressions Help
Topic: Find and replace lines prefixed with a specific character
Replies: 3
Views: 12872

Find and replace lines prefixed with a specific character

Hi, I'm new at regular expressions and need a little help to get started. I have several plain text files that contain multiple lines. Some of those lines start and end with a specific character. This could be an asterisk or a letter. Here's an example: Polly wants a cracker Oswald has a cookie but ...