Regular expressions

User avatar
scole of TSBT
Boinc Major General
Boinc Major General
Posts: 5980
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

#1 Regular expressions

Post by scole of TSBT »

I need a linux regular expression that will search for a A, B and C in any order. Can anyone help?
Image
davidbam
General Bitchin'
General Bitchin'
Posts: 6371
Joined: Wed Aug 15, 2018 1:15 pm
Location: Huntly, Scotland
Contact:

#2 Re: Regular expressions

Post by davidbam »

with or without other chars in between ?

also, for bash or something else?
I think this is fool-proof but could you just try it for me please? • There are 10 types of people in the world; those who understand binary, and those who don’t
Image
User avatar
scole of TSBT
Boinc Major General
Boinc Major General
Posts: 5980
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

#3 Re: Regular expressions

Post by scole of TSBT »

could be anything between. Any char before and after including carriage return and newline
Image
User avatar
Megacruncher
G.L.S.B.
G.L.S.B.
Posts: 4699
Joined: Mon May 29, 2006 11:33 pm
Location: Edinburgh, Scotland
Contact:

#4 Re: Regular expressions

Post by Megacruncher »

???WTF?
Sorry guys, you are tots on your own!
Willie the Megacruncher
Image
User avatar
scole of TSBT
Boinc Major General
Boinc Major General
Posts: 5980
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

#5 Re: Regular expressions

Post by scole of TSBT »

Megacruncher wrote: Wed Mar 31, 2021 12:09 am ???WTF?
Nope, that regular expression doesn't work :roll:
Image
Post Reply Previous topicNext topic

Return to “Linux”