Craigieboy
Programmer
Can someone tell me what the regular expression would be to remove a single white space from multiple lines?
Here is an example of what the text currently looks like:
0010904 25 Sep 2000
Blah blah blah blah...
0010905 25 Sep 2000
Blah blah blah blah...
0010906 25 Sep 2000
Blah blah blah blah...
I need to remove the single whitespace before the 0010904, 0010905, etc.
I am relatively new to regular expressions. The pattern I have used to find the whitespace followed by 7 digits is
"\s\d{7}\s". There will most likely be a better way of finding the 7 digit number, however this does work.
Can someone tell me what the replace would be, or how to remove that initial single white space?
Many thanks in advance.
Craig
Here is an example of what the text currently looks like:
0010904 25 Sep 2000
Blah blah blah blah...
0010905 25 Sep 2000
Blah blah blah blah...
0010906 25 Sep 2000
Blah blah blah blah...
I need to remove the single whitespace before the 0010904, 0010905, etc.
I am relatively new to regular expressions. The pattern I have used to find the whitespace followed by 7 digits is
"\s\d{7}\s". There will most likely be a better way of finding the 7 digit number, however this does work.
Can someone tell me what the replace would be, or how to remove that initial single white space?
Many thanks in advance.
Craig