You are viewing limited content. For full access, please sign in.

Question

Question

Quickfields Pattern Matching

asked on August 16, 2019

Hello Everyone,

 

I'm looking to set up a pattern match where it will match any account number that's 9 digits and start's with a specific 4 numbers.

 

I currently have d/{9} which gets the 9 digits down, but if I want only account numbers that start with 4321 how would I go about this? d/{9} - 4321 or something like this?

 

Thanks

0 0

Replies

replied on August 16, 2019

4321\d{5}

You can also use this site to test your RegEx's https://regex101.com/

2 0
replied on August 16, 2019

I think 4321\d{5} should do it since you're actually saying you're looking for "4321" followed by another 5 digits.

1 0
replied on August 19, 2019

4321\d{5}

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.