question regarding "split" like regex group

Published on Tue Mar 01 2022

dear all, i am a regex beginner, so please be gentle :) we have lines of log contents delimited by a pipe char. is it possible to fetch the content between the 5th and the 6th delimiter, ignoring the values in between? example log line: 2014-05-21_06:50:59|10.128.3.20|-|-|-|GET|/home.html|-|6 I'd like to do something like result = line.split('|')[6]. unfortunatelly I can't write code but only a regex selector. help is highly appreciated.

Additional matching regexes for
question regarding "split" like regex group

question regarding "split" like regex group

dear all, i am a regex beginner, so please be gentle :) we have lines of log contents delimited by a pipe char. is it possible to fetch the content between the 5th and the 6th delimiter, ignoring the values in between? example log line: 2014-05-21_06:50:59|10.128.3.20|-|-|-|GET|/home.html|-|6 I'd like to do something like result = line.split('|')[6]. unfortunatelly I can't write code but only a regex selector. help is highly appreciated.

SO “00000000000000000000000000000” is match to Regex “^[1-9]|0$” in .N

Test regex for question.

remove n lines after matching pattern

stackoverflow question

SO Question

SO Question

Complete Machine Readable Passport pattern

Regex to identify and split the components of a machine readable passport pattern text

Replace second grouping with first

Identifies two groups, each group using a regex, then replaces group 2 with group 1.

Usability request

implement vi keys PLEASE

group & access several lines

Hi there, I try to learn and improve my regex knowledge... I want to fetch all lines below the "="-line and between the "-"-lines and access them via $1 - $n. Is this possible? Or should I fetch the whole string below the "="-line and the last "-"-line, then seperate the lines after that in another regexp? How can I find the end then? Thank you in advance for your help.

Simple email splitter

Split the email and get the user and domain.

Is Sentence Correct

it starts with a capital letter; it ends with a full stop, question mark or exclamation point ('.', '?' or '!'); full stops, question marks and exclamation points don't appear anywhere else in the sentence.