Quantcast
Channel: CodeProject Latest postings for Regular Expressions
Viewing all articles
Browse latest Browse all 224

REGEX to find space followed by number 1 then letter

$
0
0
Hi
Been playing around but cant figure this out, I 'm looking for a way to identify where there is a space followed by the number 1 and a letter of the alphabet, below is an example of the text and I have underlined where I want the identification to be (so I can then replace/split at that point only) but can't seem to figure it out

-ABC046Y 1SMITH/FREDMR 
.L/JCD5CQ 
.R/TKNE HK1 6002300348396/1-SMITH/FREDMR 
.R/SEAT HK1 9F
.R/FQTV AB 60042576-1SMITH/FREDMR 1DOE/JANEMISS 
.L/JC93QW 
.R/TKNE HK1 6002300219029/2-1DOE/JANEEMISS 
.R/SEAT HK1 8A 
.R/CHKD HK1 011-1DOE/JANEMISS 1PRESLEY/ELVISMR-A2 


Tried a few things with regex editor but it always finds other things as well which I don't want

Hope someone can help

Many thanks

Viewing all articles
Browse latest Browse all 224

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>