![]() Only the single digits (1-9) need to have a zero preceding the number. Stefan, it seems you are close, but your regular expression is adding an additional zero to all numbers, without regards if they are single or multiple digits. ![]() Again, to create a launching pad for the program to seek out would be simple. As it stands the file name is 'AccountNumber Date Written Out' Example '1234567890 January 6, 2020.pdf' So, as it stands there is always a set number of digits and a space prior to the date string. ext thank youġ.) think which part you can catch from the file nameĢ.) so search for "all char/sign followed by an blank (or not) - followed by an single digit at the end"ģ.) and replace with all from group 1, an new zero Ø, and the original digit from group 2 I just can't change the data from the content reading. (note: if this works depends on your real file names, if you have gave bad examples.) Without RegEx i mean you have to search and replace 9-times.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |