Thread: Regex question
View Single Post
Old 09-30-2022, 09:21 AM   #1
skil-phil
Connoisseur
skil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animals
 
skil-phil's Avatar
 
Posts: 84
Karma: 6698
Join Date: Sep 2022
Location: South Africa
Device: kindle pw10
Regex question

Hi,
I posted a thread a while ago and cannot find it
If this a duplicate I apologize.

I have been getting started with regex expressions using a tutorial I found on these forums.
Finding number sequences work fine.
Number and alpha give me a problem.
Trying to get a match for:
<body class="content" id="uiW9njI8qPGOt6Hp7wdrNu5">
with variable alpha and numerics.
Tried
<body class="content" id="[a-z][A-Z][0-9]">
<body class="content" id="[a-zA-Z0-9]">
<body class="content" id="\w">
None of witch found a match.
What am I missing?
Thanks
Phil
skil-phil is offline   Reply With Quote