Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
There's no money in it.

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


 

Please log in.
Before you can vote, you need to register. Please log in or create an account.

chatbot2regex v0.9

leading to the working regex chatbox
 
(0)
  [vote for,
against]

Hey chat2b !

- CANNED MSG: Hi, I'm chat2b. I have the texts to search in. We now have 3 stages for the regex. First we define how we'll find something. Then we look at the results, and in the third stage we do something with the results. So lets start: What are you searching for in the text?

I want to find the title of the email.

- I know what email is and can find you the email. What is "the title of the email"?

There's a colon before the email. It's the word or two before the colon.

- A colon the two dots, or the word C O L O N ?

Two dots.

- OK, Gotcha. (Searced for colon. Finds some without a space and some with a space and some with a word or more before) INFORM: Do you mean that the email is immediately after the colon or could there be whitespace?

I mean immediately after or with no more than one space.

- OK, Here are the results of the colon in green and the email in purple. What is "The title of the email?".

etc.

pashute, Jan 25 2022

[link]





      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle