Regular expression pattern

GSTN : 27AAJCM8635R1ZH

GSTN : 27AACCB8671R1ZV

can I get regular expression for these

Hi @shilpa1
(?<=GSTN :).*

Thanks
Ashwin S

1 Like

date of issue 30-dec-2018

regx for this

May i know what we want to extract from here
30-dec-2019
Cheers @shilpa1

date

1 Like

Here you go for 30-dec-2019
[0-9]{2}(?=-)

then for GSTN : 27AAJCM8635R1ZH
?<=GSTN : ).*

it worked as well
image
image

Cheers @shilpa1

what is the pattern for only for “SpiceJet”

1 Like

image

Cheers @shilpa1

Fine
So any other queries to be discussed buddy
Cheers @shilpa1

30-10-2018 pattern for this

same date …?
@shilpa1

[1]{2}(?=-)
To obtain 30 from 30-10-2019
image

Cheers @shilpa1


  1. 0-9 ↩︎

\d{2}-\d{2}-\d{4}

I have values like this I need to get last one 324.00 value how can I

Hi @shilpa1,

Regex Pattern \d*.\d*$

Regards,
Arivu

how this expression works

State : MAHARASHTRA

can I get pattern for this

1 Like

Hi @shilpa1

(? <=State:).*

Thanks
Ashwin.S

getting null

1 Like

it should be like
(?<=State : ).*
it worked as well
image

Cheers @shilpa1