====== Content based search for messages ======
Currently eBiss does not yet offer a content search ((This is a feature that will be implemented in a future eBiss version)). However, this can be accomplished with a workaround described below.
**Example:** An incoming EDIFACT PRICAT message containing EAN 4058216227380 search.
**Requirements:** you will need [[http://stefanstools.sourceforge.net/grepWin.html|GrepWin]]((A freely available third party tool (also available as a portable version).)) And the path ((This can be found in the[[en:ueberblick:installation:konfiguration:serviceclientkonfiguration|]] under **eBiss.MessageStorePath**.)) to [[kommunikation:nachrichtenkoerbe:messagestore|]]((See [[en:ueberblick:installation:konfiguration:serviceclientkonfiguration|]], Parameters **eBiss.MessageStorePath**)).
Alternatively, you can also search for file content with [[https://notepad-plus-plus.org/|Notepad++]].
It is also possible to switch on the indexing functionality of the operating system and then try searching in the file manager((This is beyond the scope of this documentation but can be set up by a Windows administrator.))
**Procedure**:
- Start GrepWin and go to the MessageStore Path ((Ideally, navigate to the subfolder that corresponds with the incoming message basket, to minimize the search period.)).
- Use the [[wp>RegEx]] search and use the following as a searchstring (({{:images:sign_warning.png?nolink|}}**Tip:** This RegEx will be read as follows:
.* matches any character (except for line terminators)
* Quantifier — Matches between zero and unlimited times, as many times as possible, giving back as needed (greedy)
1st Capturing Group (PRICAT)
PRICAT matches the characters PRICAT literally (case sensitive)
.* matches any character (except for line terminators)
* Quantifier — Matches between zero and unlimited times, as many times as possible, giving back as needed (greedy)
2nd Capturing Group (4058216236672)
4058216236672 matches the characters 4058216236672 literally (case sensitive)
\\ Graphically illustrated: {{images:regex_railroad_nachrichtensuche_im_messagestore.png?nolink}}\\ See [[https://regexper.com/#.*(PRICAT).*(4058216227380)|regexper.com]])):.*(PRICAT).*(4058216227380)
- Then start the search. If a file exists which contains the string "PRICAT" ** and ** "4058216227380", it is presented as a search result.
- Open the found file with a suitable editor (eg with [[https://notepad-plus-plus.org/|Notepad++]]) and identify the document number, which is in the ** BGM ** segment. (i.d.R. BGM + 9 + document number + 9 ').
- Use the found document number in the relevant message box in eBiss to search the [[en:howtos:schnellsuche |]] on the document level (not in messages!).
The document you are looking for should be identified and re-processed as needed.