Forum: MemoQ support
Topic: Does anyone know how I combine my two regular expressions?
Poster: Fredrik Pettersson
I have these two .NET regular expressions:
Minimum 7 words, maximum 31 words: ^(?:[\w]+\s){6,30}[\w]*[\s\.?!;\,]*$
Match three words in any sequence: (?=.*\balpha\b) (?=.*\bbeta\b) (?=.*\bgamma\b).*
To combine them into one single regex for use in MemoQ, which one should I put as first and as second?
What do I use to combine them? - a pipe or parentheses? Or nothing, just write one after each other?
Topic: Does anyone know how I combine my two regular expressions?
Poster: Fredrik Pettersson
I have these two .NET regular expressions:
Minimum 7 words, maximum 31 words: ^(?:[\w]+\s){6,30}[\w]*[\s\.?!;\,]*$
Match three words in any sequence: (?=.*\balpha\b) (?=.*\bbeta\b) (?=.*\bgamma\b).*
To combine them into one single regex for use in MemoQ, which one should I put as first and as second?
What do I use to combine them? - a pipe or parentheses? Or nothing, just write one after each other?